Part Number Hot Search : 
MV12V 1340A1 MC75451 0E7XXXF R12KE ZMM5230B VRE101CA ENA1300
Product Description
Full Text Search
 

To Download AN2532 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? motorola, inc., 2003 AN2532/d rev. 0, 5/2003 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) application note by milan brejl, ph.d. functional overview standard space vector modulation ? 3 outputs version (svmstd3) is a variant of the svmstd function that, in contrary to svmstd, generates only top channel signal of each pwm pair. the bottom channel signal could be derived from the top channel signal by an external hardware. the function set consists of 4 tpu functions:  standard space vector modulation ? 3 outputs version (svmstd3)  synchronization signal for standard space vector modulation ? 3 outputs version (svmstd3_sync)  resolver reference signal for standard space vector modulation ? 3 outputs version (svmstd3_res)  fault input for standard space vector modulation ? 3 outputs version (svmstd3_fault) the svmstd3 tpu function generates a 3-channel 3-phase center-aligned pwm signal. the generated signals control external hardware, which outputs pair of transistor signals (top and bottom) with dead-time inserted. the synchronization signal for the svmstd3 function can be used to generate one or more adjustable signals for a wide range of uses, which are synchronized to f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 2 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola figure 1. signals generated by svmstd3 tpu function set the pwm, and track changes in the pwm period. the resolver reference signal for svmstd3 function can be used to generate one or more 50% duty- cycle adjustable signals that are also synchronized to the pwm. the fault input for the svmstd3 function is a tpu input function that sets all pwm outputs low when the input signal goes low. see figure 1 . function set configuration the standard space vector modulation ? 3 outputs version tpu function is the main function of the set. it can be used either alone, with some of the supporting functions, or with all of them. one or more channels running a synchronization signal for svmstd3 as well as resolver reference signals for svmstd3 functions can be added to the main svmstd3 function. each channel can run with different settings. when the fault input for svmstd3 is added, it is recommended to use it on channel 15, and to select the hardware option that disables all tpu output pins when the channel 15 input signal is low (dtpu bit = 1). this ensures that the hardware reacts quickly to a pin fault state. note that it is not only the pwm channels, but all tpu output channels including the synchronization signals, that are disabled in this configuration. table 1 shows the configuration options and restrictions. 
              !  " #$% & '()* + ,   % f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d function set configuration motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 3 table 2 shows an example of configuration. table 3 shows the tpu function code sizes. configuration order the cpu configures the tpu as follows. 1. disables the channels by clearing the two channel priority bits on each channel used (not necessary after reset). 2. selects the channel functions on all used channels by writing the function numbers to the channel function select bits. 3. initializes function parameters. the parameters t , prescaler , mpw , sqrt3 and sync_presc_addr must be set before initialization. if an svmstd3_sync channel or an svmstd3_res channel is used, then also its parameters must be set before initialization. 4. issues an hsr (host service request) type %10 to one of the svmstd3 channels to initialize all pwm channels. issues an hsr type %10 to the svmstd3_sync channels, svmstd3_res channels and svmstd3_fault channel, if used. svmstd3_fault optional 1 any, recommended is 15 and dtpu bit set table 2. example of configuration channel tpu function priority 0 svmstd3 high 1 svmstd3 high 2 svmstd3 high 10 svmstd3_sync low 11 svmstd3_res low 15 svmstd3_fault high table 3. tpu function code sizes tpu function code size svmstd3 176 instructions + 8 entries = 184 long words svmstd3_sync 26 instructions + 8 entries = 34 long words svmstd3_res 38 instructions + 8 entries = 46 long words svmstd3_fault 9 instructions + 8 entries = 17 long words table 1. svmstd3 tpu function set configuration options and restrictions tpu function optional/ mandatory how many channels assignable channels f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 4 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola 5. enables servicing by assigning high, middle or low priority to the channel priority bits. all pwm channels must be assigned the same priority to ensure correct operation. the cpu must ensure that the svmstd3_sync or svmstd3_res channels are initialized after the initialization of pwm channels: ? assign a priority to the pwm channels to enable their initialization ? if a synchronization signal or a resolver reference signal channel is used, wait until the hsr bits are cleared to indicate that initialization of the pwm channels has completed and ? assign a priority to the svmstd3_sync or svmstd3_res channels to enable their initialization note: a cpu routine that configures the tpu is generated automatically using mpc500_quick_start graphical configuration tool. detailed functi on description standard space vector modulation ? 3 outputs version (svmstd3) the svmstd3 tpu function generates a 3-channel, 3-phase pwm signal. unlike svmstd, the generated signals are not top-bottom pairs with dead-times but only top-like signals without dead-times. in order to charge the bootstrap transistors, the pwm signals start to run 1.6ms after their initialization (at 20mhz tcr1 clock). the function generates signals corresponding to a reference voltage vector amplitude of 0 (50% duty-cycle) until the first reloaded values are processed. the cpu controls the pwm output by setting the tpu parameters. the stator reference voltage vector components u and u a have to be adjusted during run time. the pwm period t and the prescaler ? the number of pwm periods per reload of new values ? are also read at each reload, so these parameters can be changed during run time. conversely, minimum pulse width ( mpw ) is not supposed to be changed during run time. the cpu notifies the tpu that the new reload values are prepared by setting the ld_ok parameter. the tpu notifies the cpu that the reload values have been read and new values can be written by clearing the ld_ok parameter. the tpu writes the parameter sector that indicates the current stator reference voltage vector position in sector 1 to 6. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 5 the following figures show the input stator reference voltage vector components u and u a , corresponding sectors and output pwm signal duty cycle ratios: figure 2. standard space vector modulation ? 3 outputs version technique the following equations describe how the space vector modulation pwm signal high-times ht a , ht b , ht c and transition times t low-high and t high-low of each channel are calculated:               
                      !" #"$! 
                
 
                             
                      !" #"$! 
                
 
                       
                                   !" #"$! 
                
 
                           u t u ? = u t u  =  u = x 2 3 y   u u + = 2 3 z u u ? =         sector: v. iv. iii. vi. i. ii.     f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 6 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola host interface sector i., iv.: sector ii., v.: y z a 2 z y c a 2 z y b 2 z y a ? = = + = = = ? ? + + ? + t h t t h t h t t t t sector iii., vi.: y x a 2 y x c c 2 y x b 2 y x a ? = = + = = = ? ? ? + + ? t h t t h t h t t t t x z b 2 z x c a 2 z x b 2 z x a ? = = + = = = + ? + + ? + t h t t h t h t t t t center_time t a ht phase a: 2 e center_tim 2 e center_tim a low - high a high - low ht t ht t + = ? = phase b and phase c similarly with ht b and ht c substituted to ht a . table 4. svmstd3 control bits name options channel function select svmstd3 function number (assigned during assembly the dptram code from library tpu functions) written by cpu written by tpu written by both cpu and tpu not used 3 21 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 7 tpu function svmstd3 generates an interrupt when the current values of ualfa , ubeta , t and prescaler have been read by the tpu and indicates to the cpu that it can write new variables. the cpu program can either wait for this interrupt to occur, or poll the ld_ok bit to check it has cleared. the interrupt is generated at each reload by one of the pwm channels. channel priority 00 ? channel disabled 01 ? low priority 10 ? middle priority 11 ? high priority host service bits (hsr) 00 ? no host service request 01 ? not used 10 ? initialization 11 ? stop host sequence bits (hsq) xx ? not used channel interrupt enable 0 ? channel interrupt disabled 1 ? channel interrupt enabled channel interrupt status 0 ? interrupt not asserted 1 ? interrupt asserted table 5. svmstd3 parameter ram channel parameter1514131211109876543210 phase a 0 hta 1 hltime_a 2 center_time 3 ld_ok 4sqrt3 5 mpw 6 ua3 7 fault_pinstate phase b 0 htb 1 hltime_b 2 ua 3 ub 4 ualfa 5 ubeta 6 sector 7 max_ht table 4. svmstd3 control bits name options 1 0 1 0 1 0 0 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 8 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola phase c 0 htc 1 hltime_c 2 t_copy 3 dec 4 t 5 prescaler 6 prsc_copy 7 sync_presc_addr table 6. svmstd3 parameter description parameter format description parameters written by cpu ualfa, ubeta 16-bit fractional stator reference voltage vector components t 16-bit unsigned integer pwm period in number of tcr1 tpu cycles prescaler 16-bit unsigned integer the number of pwm periods per reload of new values mpw 16-bit unsigned integer minimum pulse width in number of tcr1 tpu cycles. see performance for details. sqrt3 16-bit fractional sqrt(3)/2 = 0.866 = $6eda constant sync_presc_addr 8-bit unsigned integer address of synchronization channel prescaler parameter: $x4, where x is synchronization channel number. $0 if no synchronization channel is used. parameters written by both tpu and cpu ld_ok 1-bit 0 ... cpu can update variables 1 ... tpu can read variables cpu sets 1, tpu sets 0 parameters written by tpu sector 16-bit unsigned integer the position of stator reference voltage vector in a sector. the sector can be 1, 2, 3, 4, 5 or 6 fault_pinstate 0 or 1 if fault channel is used, state of fault pin: 0 ... low 1 ... high other parameters are just for tpu function inner use. table 5. svmstd3 parameter ram channel parameter1514131211109876543210 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 9 performance note: execution times do not include the time slot transition time (tst = 10 or 14 imb clocks) figure 3. svmstd3 timing note: the channel with longest momentary high-time is marked by a flag0 and runs the hl_rld and c1, c2, c3, c4 states. table 7. svmstd3 state statistics state max imb clock cycles ram accesses by tpu init 66 19 stop 20 0 lh 26 5 hl 2 1 hl_rld 44 16 c1 48 3 c2 48 4 c3 50 3 c4 48 8 center_time center_time t t flag0 = 1 c1 c2 c3 hl_rld c4 hl hl hl hl lh not a reload period hl_rld reload period phase a phase b phase c lh lh lh lh lh f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 10 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola figure 4. svmstd3 state diagram minimum pulse width the tpu cannot generate pwm signals with duty cycle ratios very close to 0% or 100%. the minimum pulse width that the tpu can be guaranteed to generate correctly is determined by the tpu function itself and by the activity on the other channels. when the tpu function is requested to generate a narrower pulse a collision can occur. to prevent this, the parameter mpw (minimum pulse width) is introduced. the tpu function svmstd3 limits the narrowest generated pulse widths to mpw . the cpu program should check, and limit, the maximum amplitude of the stator reference voltage vector before decomposition to u , u a components. the maximum amplitude of the stator reference voltage vector should be less than if this is not the case, the tpu function will start to limit the minimum pulse widths to mpw to prevent a collision, and the duty cycle ratio traces will be deformed as shown on figure 5 . init stop hl_rld lh hl c1234 flag0 = 1 hsr = 10 3-times hsr = 11 flag0 = 0 flag0 = 1 4 th -time reload no reload yet phase a phase b phase c t mpw 2 1 ? f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 11 figure 5. effect of limitation the mpw is written by the cpu. the mpw depends on the whole tpu unit configuration, especially the lengths of the longest states of other functions, and their priorities, running on the same tpu. the mpw has to be correctly calculated at the time the whole tpu unit is configured. figure 6. timing of the worst case when svmstd3 is running alone on one tpu, the minimum pulse width can be calculated according to figure 6 . this illustrates the worst case timing. the high to low transition runs the lh state that sets the following low to high transition. the lh state lasts 26 imb clock cycles (see table 7 ). each state is preceded by the time slot transition (tst), which takes 10 or 14 imb clock cycles. so the time necessary to set the next transition, that corresponds to mpw , is 40 imb clock cycles . note that the mpw is not entered into the parameter ram in imb clock cycles, but in tcr1 clock cycles. it is recommended for the svmstd3 function, that the tcr1 clock is configured for its maximum speed, which is the imb clock divided by 2. in this case the mpw = 20.         


   
    
  
          !  "                 


   
    
  
             !  "  center_time lh mpw f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 12 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola when other functions are running together, on the same tpu, with the svmstd3 functions, a latency between the high-low transition and the start of the lh state can appear. to maintain sufficiently high performance of svmstd3, it is recommended that the following rules are followed to configure the tpu:  assign svmstd3 pwm channels high priority  assign svmstd3 pwm functions on low channel numbers so that no other function with high priority is assigned a channel with a lower number in this instance, the worst case timing case that can happen is illustrated in figure 7 . figure 7. worst case timing the time slot sequences at the top of the figure shows when a state of a high (h), middle (m) or low (l) priority is serviced in the worst case. to calculate the mpw follow these steps:  get the lengths of the longest states. ? it is necessary to know the lengths of the longest states within all functions of each priority group. the initialization states are not considered ? only the running states. let's denote h as the time period of the longest state within all functions running on high priority (do not consider svmstd3 functions). let's denote m as the time period of the longest state within all functions running on middle priority and l as the time period of the longest state within all functions running on low priority. calculate mpw according to figure 7 . ?tst + h + tst + max ( m , l ) + tst+4 + lh that is 60 + h + max ( m , l ) imb clock cycles. mpw (in imb clock cycles) = 60 + h + max ( m , l ) lh mpw latency h tst+4 m or l tst h tst f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 13  convert mpw in imb clock cycles to mpw in tcr1 clock cycles based on tcr1 prescaler settings. when there are no channels of middle or low priority, simply leave out all the h or l and the following tst or tst+4 from the formulas. when the recommended configuration rules are not adhered to, the timing of the worst case is much more complicated. it requires some familiarity with the details of the tpu priority scheme. in this case, the worst-case latency (wcl), which is automatically calculated by the mpc500_quick_start graphical configuration tool, can serve as a good approximation. this is always longer than the real-case is. let the wcl be calculated after the configuration of the tpu channels and then find the longest wcl value within all svmstd3 pwm channels. convert the number, from imb clock cycles to tcr1 clock cycles, to get the mpw . synchronization signal for standard space vector modulation ? 3 outputs version (svmstd3_sync) the svmstd3_sync tpu function uses information obtained from the svmstd3 pwm functions, the actual pwm center times and the pwm periods. this allows a signal to be generated, which tracks the changes in the pwm period and is always synchronized with the pwm. the synchronization signal is a positive pulse generated repeatedly after the prescaler or presc_copy pwm periods (see next paragraph). the low to high transition of the pulse can be adjusted by a parameter, either negative or positive, to go a number of tcr1 tpu cycles before or after the pwm period center time. the pulse width pw is another synchronization signal parameter. figure 8. synchronization signal adjustment examples center_time t center_time t center_time t pw |move| m ove < 0 p rescaler = 2 center_time t center_time t center_time t pw |move| m ove > 0 p rescaler = 1 center_time t center_time t center_time t pw |move| m ove < 0 p rescaler = 2 center_time t center_time t center_time t pw |move| m ove > 0 p rescaler = 1 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 14 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola synchronized change of pwm prescaler and synchronization signal prescaler the svmstd3_sync tpu function actually uses the presc_copy parameter instead of the prescaler parameter. the prescaler parameter holds the prescaler value that is copied to the presc_copy by the svmstd3_bottom function at the time the pwm parameters are reloaded. this ensures that new prescaler values for the pwm signals, as well as the synchronization signal, are applied at the same time. write the synchronization signal prescaler parameter address to the sync_presc_addr parameter to enable this mechanism. write 0 to disable it, and remember to set the synchronization signal presc_copy parameter instead of the prescaler parameter in this case. host interface tpu function svmstd3_sync generates an interrupt after each low to high transition. table 8. svmstd3_sync control bits name options channel function select svmstd3_sync function number (assigned during assembly the dptram code from library tpu functions) channel priority 00 ? channel disabled 01 ? low priority 10 ? middle priority 11 ? high priority host service bits (hsr) 00 ? no host service request 01 ? not used 10 ? initialization 11 ? not used host sequence bits (hsq) xx ? not used channel interrupt enable 0 ? channel interrupt disabled 1 ? channel interrupt enabled channel interrupt status 0 ? interrupt not asserted 1 ? interrupt asserted written by cpu written by tpu written by both cpu and tpu not used 3 21 0 1 0 1 0 1 0 0 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 15 performance there is one limitation. the absolute value of parameter move has to be less than a quarter of the pwm period t . table 9. svmstd3_sync parameter ram channel parameter1514131211109876543210 synchronization channel 0 move 1 pw 2 prescaler 3 presc_copy 4 time 5 dec 6 t_copy 7 table 10. svmstd3_sync parameter description parameter format description parameters written by cpu move 16-bit signed integer the number of tcr1 tpu cycles to forego (negative) or come after (positive) the pwm period center time pw 16-bit unsigned integer synchronization pulse width in number of tcr1 tpu cycles. prescaler 16-bit unsigned integer the number of pwm periods per synchronization pulse ? use in case of synchronized prescalers change presc_copy 16-bit unsigned integer the number of pwm periods per synchronization pulse ? use in case of asynchronized prescalers change parameters written by tpu other parameters are just for tpu function inner use. table 11. svmstd3_sync state statistics state max imb clock cycles ram accesses by tpu init 12 5 4 t move < f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 16 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola note: execution times do not include the time slot transition time (tst = 10 or 14 imb clocks) figure 9. svmstd3_sync timing figure 10. svmstd3_sync state diagram resolver reference signal for standard space vector modulation ? 3 outputs version (svmstd3_res) the svmstd3_res tpu function uses information read from the svmstd3 pwm functions, the actual pwm center times and the pwm periods. this allows a signal to be generated, which tracks the changes of the pwm period and is always synchronized with the pwm. the resolver reference signal is a 50% duty-cycle signal with a period equal to prescaler or synchronization channel presc_copy pwm periods (see next paragraph). the low to high transition of the pulse can be adjusted by a parameter, either negative or positive, to go a number of tcr1 tpu cycles before or after the pwm period center time. s1 12 6 s2 8 3 s3 16 7 table 11. svmstd3_sync state statistics state max imb clock cycles ram accesses by tpu s1 s2 s3 s1 s2 center_time t center_time t center_time t s1 s2 s3 s1 s2 center_time t center_time t center_time t s1 s2 s3 init hsr = 10 s1 s2 s3 init hsr = 10 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 17 figure 11. resolver reference signal adjustment examples synchronized change of pwm prescaler and resolver reference signals prescaler the svmstd3_res tpu function can inherit the synchronization signal prescaler that is synchronously changed with the pwm prescaler. write the synchronization signals presc_copy parameter address to the presc_addr parameter to enable this mechanism. write 0 to disable it, and in this case set the prescaler parameter to directly specify prescaler value. host interface center_time t center_time t center_time t |move| m ove < 0 p rescaler = 2 center_time t center_time t center_time t |move| m ove > 0 p rescaler = 1 table 12. svmstd3_res control bits name options channel function select svmstd3_res function number (assigned during assembly the dptram code from library tpu functions) channel priority 00 ? channel disabled 01 ? low priority 10 ? middle priority 11 ? high priority host service bits (hsr) 00 ? no host service request 01 ? not used 10 ? initialization 11 ? not used written by cpu written by tpu written by both cpu and tpu not used 32 1 0 1 0 1 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 18 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola host sequence bits (hsq) xx ? not used channel interrupt enable x ? not used channel interrupt status x ? not used table 13. svmstd3_res parameter ram channel parameter1514131211109876543210 resolver 0 move 1 2 presc_addr 3 prescaler 4 time 5 dec 6 t_copy 7 table 14. svmstd3_res parameter description parameter format description parameters written by cpu move 16-bit signed integer the number of tcr1 tpu cycles to forego (negative) or come after (positive) the pwm period center time presc_addr 16-bit unsigned integer $00x6, where x is a number of synchronization signal channel, to inherit sync. channel prescaler or $0000 to enable direct specification of prescaler value in prescaler parameter prescaler 1, 2, 4, 6, 8, 10, 12, 14, ... the number of pwm periods per synchronization pulse ? use when apresc_addr = 0 parameters written by tpu table 12. svmstd3_res control bits name options 1 0 0 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 19 performance there is one limitation. the absolute value of parameter move has to be less than a quarter of the pwm period t . note: execution times do not include the time slot transition time (tst = 10 or 14 imb clocks) figure 12. svmstd3_res timing other parameters are just for tpu function inner use. table 14. svmstd3_res parameter description parameter format description table 15. svmstd3_res state statistics state max imb clock cycles ram accesses by tpu init 12 5 s1 26 9 s3 18 7 4 t move < s1 s1 s3 center_time t center_time t center_time t f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 20 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola figure 13. svmstd3_res state diagram fault input for standard space vector modulation ? 3 outputs version (svmstd3_fault) the svmstd3_fault is an input tpu function that monitors the pin, and if a high to low transition occurs, immediately sets all pwm channels low and cancels all further transitions on them. the pwm channels, as well as the synchronization and resolver reference signal channels (if used), have to be initialized again to start them running. the function returns the actual pinstate as a value of 0 (low) or 1 (high) in the parameter fault_pinstate . the parameter is placed on the phase a channel to keep the fault channel parameter space free. host interface s1 s3 table 16. svmstd3_fault control bits name options channel function select svmstd3_fault function number (assigned during assembly the dptram code from library tpu functions) channel priority 00 ? channel disabled 01 ? low priority 10 ? middle priority 11 ? high priority written by cpu written by tpu written by both cpu and tpu not used 32 1 0 1 0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 21 tpu function svmstd3_fault generates an interrupt when a high to low transition appears. performance host service bits (hsr) 00 ? no host service request 01 ? not used 10 ? initialization 11 ? not used host sequence bits (hsq) xx ? not used channel interrupt enable 0 ? channel interrupt disabled 1 ? channel interrupt enabled channel interrupt status 0 ? interrupt not asserted 1 ? interrupt asserted table 17. svmstd3_fault parameter ram channel parameter1514131211109876543210 fault input 0 1 2 3 4 5 6 7 table 18. svmstd3_fault parameter description parameter format description parameters written by tpu fault_pinstate 0 or 1 state of fault pin: 0 ... low 1 ... high table 16. svmstd3_fault control bits name options 1 0 1 0 0 0 table 19. svmstd3_fault state statistics state max imb clock cycles ram accesses by tpu init 8 2 fault 26 1 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d 22 standard space vector modulation ? 3 outputs version tpu function set (svmstd3) motorola note: execution times do not include the time slot transition time (tst = 10 or 14 imb clocks) figure 14. svmstd3_fault timing figure 15. svmstd3_fault state diagram no_fault 4 1 table 19. svmstd3_fault state statistics state max imb clock cycles ram accesses by tpu fault no_fault fault init hsr = 10 no_fault f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
AN2532/d detailed function description motorola standard space vector modulation ? 3 outputs version tpu function set (svmstd3) 23 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
how to reach us: usa/europe/locations not listed: motorola literature distribution p.o. box 5405 denver, colorado 80217 1-800-521-6274 or 480-768-2130 japan: motorola japan ltd. sps, technical information center 3-20-1, minami-azabu, minato-ku tokyo 106-8573, japan 81-3-3440-3569 asia/pacific: motorola semiconductors h.k. ltd. silicon harbour centre 2 dai king street tai po industrial estate tai po, n.t., hong kong 852-26668334 home page: http://motorola.com/semiconductors AN2532/d rev. 0 5/2003 information in this document is provided solely to enable system and software implementers to use motorola products. there are no express or implied copyright licenses granted here under to design or fabricate any integrated circuits or integrated circuits based on the information in this document. motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any produc t or circuit, and specifically disclaims any and all liability , including without limitation consequential or incidental damages. ?typical? parameters that may be provided in motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. all operating parameters, including ?typicals?, must be validat ed for each customer application by customer?s technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola products are not designed, intended, or authorized for use as components in syst ems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the motorola product cou ld create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and the stylized m logo are registered in the us patent and trademark office. all other product or service names are the property of their respective owners. motorola, inc. is an equal opportunity/affirmative action employer. ? motorola inc. 2003 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .


▲Up To Search▲   

 
Price & Availability of AN2532

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X